#ifndef INPUTCOLOR_H
#define INPUTCOLOR_H

#include <QLineEdit>
#include "widget_input.h"

class InputColor : public QLineEdit, public WidgetInput
{
    Q_OBJECT

public:
    InputColor(QWidget *parent = nullptr, const QString& name = "");

    void setValue(const QString& value) override;
    QString getValue() const override;
    bool isEmpty() const override;

protected:
    void mousePressEvent(QMouseEvent*) override;
};

#endif // INPUTCOLOR_H
